package boss.portal.entity.system;

import boss.portal.entity.Common;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * user
 */
@Entity
@Table(name = "user")
@Data
@ApiModel("user")
public class User extends Common {

    @Column(name = "username")
    @ApiModelProperty("账号")
    private String username;

    @Column(name = "password")
    @ApiModelProperty("密码")
    private String password;

    @Column(name = "phone")
    private String phone;

    private String email;

    //0、停用；1、启用
    @Column(name="status")
    private Integer status;

    @Column(name="remark")
    private String remark;

}
